@{
ViewData["Title"] = "TestSelect1";
var users = ViewBag.Users;
}
<div class="texr-center">
  <table>
    <thead>
      <tr>
        <th>用户ID</th>
        <th>姓名</th>
        <th>电话</th>
        <th>性别</th>
        <th>昵称</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
      @foreach(var u in users){
      <tr>
        <td>@u.UserID</td>
        <td>@u.Name</td>
        <td>@u.Phone</td>
        <td>@u.Sex</td>
        <td>@u.Nick</td>
        <td>
          <a href="/testdb/del/1?UserID=@u.UserID">删除</a>
        </td>
      </tr>
      }
    </tbody>
  </table>
</div>
